﻿//PlazaAnonymousOrdersLogColumns.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Plaza.Metadata
{
	/// <summary>
	/// FORTS_ORDLOG_REPL - Анонимный orders_log.
	/// Таблица orders_log - Журнал заявок.
	/// </summary>
	public class PlazaAnonymousOrdersLogColumns : PlazaBaseOrdersColumns
	{
		internal PlazaAnonymousOrdersLogColumns()
			: this(PlazaTableSystemName.OrdersLog)
		{
		}

		internal PlazaAnonymousOrdersLogColumns(string tableId)
			: base(tableId)
		{
			DealId = new PlazaColumn(TableId, "id_deal", typeof(long));
			DealPrice = new PlazaColumn(TableId, "deal_price", "d16.5");
		}

		/// <summary>
		/// Идентификатор сделки по данной записи журнала заявок.
		/// </summary>
		public readonly PlazaColumn DealId;

		/// <summary>
		/// Цена заключенной сделки.
		/// </summary>
		public readonly PlazaColumn DealPrice;
	}
}